<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        //定义常量,无法被修改
        const unitPrice = 100
        unitPrice = 200 //报错

        let a = 10
        let b = 20
        let c = a * b

        // console.log("\"");

        console.log(a + '*' + b + '=' + c);
        console.log(`${a}*${b}=${c}  ""  ' ' "`);//模板字符串


    </script>
</body>

</html>